<template>
  <nav>
    <a href="javascript:void(0)" class="logo"></a>
    <a href="javascript:void(0)" class="search-area">
      大家都在搜：地摊经济
    </a>
  </nav>
</template>

<script>
export default {
  name: "NavComponent"
};
</script>

<style scoped lang="scss">
$sky-blue: #6bc1d9;

nav {
  height: 0.94rem;
  background: $sky-blue;
  display: flex;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  .logo {
    height: 0.42rem;
    width: 0.88rem;
    background: url("../assets/home/logo.png") no-repeat center / contain;
    margin: 0 0.43rem 0 0.17rem;
  }

  .search-area {
    height: 0.54rem;
    width: 4.54rem;
    background: #fff;
    border-radius: 0.2rem;
    border: none;
    text-align: center;
    line-height: 0.54rem;
  }
}
</style>
